﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace flowerWebApi.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class ImageController : ControllerBase
    {
        [HttpGet]
        public List<ImageModle> GetImages()
        {
            List<ImageModle> list = new List<ImageModle>() { 
                new ImageModle() { ImageUrl = "/image/24_MothersDay_pc.jpg", CourseUrl = "https://wwww.baidu.com/" },
                new ImageModle() { ImageUrl = "/image/23_birthday_pc.jpg", CourseUrl = "https://wwww.baidu.com/" },
                new ImageModle() { ImageUrl = "/image/23_brand_banner_pc.jpg", CourseUrl = "https://wwww.baidu.com/" }
            };
            return list;
        }
    }
}